package com.book.book.service;

import com.book.book.mapper.userInfoMapper;
import com.book.book.model.UserInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {
    @Autowired
    private userInfoMapper userInfoMapper;

    public UserInfo getuser(String name){
return userInfoMapper.ByName(name);
    }
}
